﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SceneEngine
{
    /// <summary>
    /// Provides data for the event which is raised when an object is renamed.
    /// </summary>
    public class RenamedEventArgs : EventArgs
    {
        public RenamedEventArgs(string previousName, string newName)
        {
            this.PreviousName = previousName;
            this.NewName = newName;
        }

        public string PreviousName;
        public string NewName;
    }

    public delegate void RenamedEventHandler(object sender, RenamedEventArgs e);
}
